<style type="text/css">
    .datepicker.datepicker-dropdown.dropdown-menu {z-index: 10000;}
    @media(max-width: 768px){
        .page-header.navbar .top-menu .navbar-nav > li.dropdown{padding-right: 10px !important;}
    }
</style>
<script type="text/javascript">
    function getNowDate() {
        var show = document.getElementById("Date");
        var time = new Date();   // 程序计时的月从0开始取值后+1
        var y = time.getFullYear();
        var m = time.getMonth() + 1;
        var m = m<10 ? '0'+m : m;
        var d = time.getDate()<10 ? '0'+time.getDate() : time.getDate();
        var h = time.getHours()<10 ? '0'+time.getHours() : time.getHours();
        var mm = time.getMinutes()<10 ? '0'+time.getMinutes() : time.getMinutes();
        var s = time.getSeconds()<10 ? '0'+time.getSeconds() : time.getSeconds();
        show.innerHTML = '现在是:'+y+'-'+m+'-'+d+' '+h+':'+mm+':'+s;
    }
    setInterval('getNowDate()', 1000);
</script>

<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
    <!-- BEGIN HEADER INNER -->
    <div class="page-header-inner ">
        <!-- BEGIN LOGO -->
        <div class="page-logo">
            <f:link.page pageUid="{rootPage}">
                <f:image src="{logoFile}" alt="{siteTitle}" width="94c" class="logo-default" />
            </f:link.page>
            <div class="menu-toggler sidebar-toggler"></div>
        </div>
        <!-- END LOGO -->
        <!-- BEGIN RESPONSIVE MENU TOGGLER -->
        <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse"> </a>
        <!-- END RESPONSIVE MENU TOGGLER -->


        <!-- BEGIN PAGE TOP -->
        <div class="page-top">
            <div id="Date" style="display: inline-block;font-size: 14px;font-weight: 400;color:#7f96ac;padding: 25px 10px;"><script language="javascript">getNowDate();</script></div>
            <!-- BEGIN TOP NAVIGATION MENU -->
            <div class="top-menu">
                <ul class="nav navbar-nav pull-right ">
                    <!-- BEGIN USER LOGIN DROPDOWN -->
                    <li class="dropdown dropdown-user">
                        <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
                            <img alt="" class="img-circle" src="typo3conf/ext/backsite/Resources/Public/images/avatar.png" />
                            <span class="username username-hide-on-mobile"> {USERNAME} </span>
                            <i class="fa fa-angle-down"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-default">
	                        	<f:if condition="{sys_language_uid}==0">
	                            <li>
	                                <a href="admin/system/be-account/">
	                                    <i class="icon-user"></i> 个人信息 </a>
	                            </li>
	                            <li>
	                                <a href="admin/system/be-password/">
	                                    <i class="icon-key"></i> 修改密码 </a>
	                            </li>
	                            <li class="hide">
	                                <a href="page_user_lock_1.html">
	                                    <i class="icon-lock"></i> 锁屏 </a>
	                            </li>
	                          </f:if>
                            <li>
                                <a href="admin/?logintype=logout&L={sys_language_uid}">
                                    <i class="icon-logout"></i> 退出 </a>
                            </li>
                        </ul>
                    </li>
                    <!-- END USER LOGIN DROPDOWN -->
                    <!-- BEGIN QUICK SIDEBAR TOGGLER -->
                    <style type="text/css">
                        @media(max-width: 768px){
                            .home-img{padding-left: 0 !important;padding-right: 0 !important;}
                        }
                    </style>
                    <li class="dropdown" onclick="location='admin/'">
                        <i class="icon-home home-img" style="cursor: pointer;padding: 24px 12px 24px 12px;font-size: 20px;color: #eee;"></i>
                    </li>
                    <!-- END QUICK SIDEBAR TOGGLER -->
                </ul>
            </div>
            <!-- END TOP NAVIGATION MENU -->
        </div>
        <!-- END PAGE TOP -->
    </div>
    <!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
